/*
 * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved
 * Use of this source code is governed by a MIT license that can be
 * found in the LICENSE file.
 */
#ifndef PROGRESSBARANDROIDCOMPONENTJSIBINDER_H
#define PROGRESSBARANDROIDCOMPONENTJSIBINDER_H
#pragma once
#include "RNOH/UIManagerModule.h"
#include "RNOH/BaseComponentJSIBinder.h"
#include "RNOHCorePackage/ComponentBinders/ViewComponentJSIBinder.h"
#include "glog/logging.h"
namespace rnoh {
class ProgressBarAndroidComponentJSIBinder : public ViewComponentJSIBinder {
protected:
    facebook::jsi::Object createNativeProps(facebook::jsi::Runtime &rt) override
    {
        auto nativeProps = ViewComponentJSIBinder::createNativeProps(rt);
        nativeProps.setProperty(rt, "styleAttr", "string");
        nativeProps.setProperty(rt, "indeterminate", "boolean");
        nativeProps.setProperty(rt, "progress", "number");
        nativeProps.setProperty(rt, "animating", "boolean");
        nativeProps.setProperty(rt, "color", "Color");
        return nativeProps;
    }
};

} // namespace rnoh
#endif